package Tools.Lighting;

import GameMath.GPoint;

/** Light base
 * @author Aikidos
 */
public interface ILight {
	
	/** Returns light position
	 * @return Light position
	 */
	public GPoint getPosition();
	
	/** Returns light range
	 * @return Light range
	 */
	public int getRange();
	
	/** Set light position
	 * @param pos - Position
	 */
	public void setPosition(GPoint pos);
	
	/** Set range
	 * @param range - Range
	 */
	public void setRange(int range);
	
	/** Calculate lighting
	 * @param lightMap - Light map
	 * @param solidMap - Solid map
	 */
	public void calcLighting(LightMap lightMap, boolean[][] solidMap);
	
	/** Update light
	 * @param delta - Time delta
	 */
	public void update(int delta);
	
	
}
